Multiplication of monomial by binomial and trinomial